package cn.uestc.labhms.modules.hms.param;

public class ValidateConst {

    public static final String PASSWORD_REGEX = "^(?![0-9]+$)(?![a-zA-Z~!@#$%^*]+$)[0-9A-Za-z~!@#$%^*]{6,20}$";
    public static final String EMAIL_REGEX = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";
    public static final String PASSWORD_ERROR_MSG = "密码格式不正确，请输入6-20位的密码，必须包含数字和字母，支持特殊符号~!@#$%^*";
    public static final String FIELD_REGEX = "^[a-zA-Z][a-zA-Z0-9_]{1,31}$";
    public static final String FIELD_ERROR_MSG = "以字母开头的2~32个字符序列，不能含中文，可以是大小写字符，数字，下划线";
    public static final String FIELDC_REGEX = "^[\\u4E00-\\u9FA5]+$";
    public static final String FIELDC_ERROR_MSG = "中文字段名只能组成字符只能为中文";
}
